package ebuy.com.dao;

import ebuy.com.pojo.Shopping;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface Shoppingdao {
    //增加购物车
    int Addshoppingcart(Shopping shopping);
    //根据id删除购物车
    int Deleteshoppingcart(@Param("id")Integer id);
   Shopping Queryshoppingcartid(@Param("shoppingid")Integer shoppingid);

}
